﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using Proy200Millas_BE;
using Proy200Millas_ADO;

namespace Proy200Millas_BL
{
    public class FaenaBL
    {

        FaenaADO _faenaADO = new FaenaADO();

        public DataTable ListarFaena()
        {
            return _faenaADO.ListarFaena();
        }

        public Boolean InsertarFaena(FaenaBE _faenaBE)
        {
            return _faenaADO.InsertarFaena(_faenaBE);
        }

        public Boolean ActualizarFaena(FaenaBE _faenaBE)
        {
            return _faenaADO.ActualizarFaena(_faenaBE);
        }

        public Boolean EliminarFaena(String vNum_fae)
        {
            return _faenaADO.EliminarFaena(vNum_fae);
        }

        public FaenaBE ConsultarFaena(String vNum_fae)
        {
            return _faenaADO.ConsultarFaena(vNum_fae);
        }


    }
}
